<?php
	/**
	 *	Wap Portal Server
	 *
	 *	Copyright (C) 2002 - 2004 Emir Sakic
	 *
	 *	Wap Portal Server
	 *	Developer: Emir Sakic - saka@hotmail.com
	 *  Homepage: http://www.sakic.net
	 *	Date: 15/03/2004
	 * 	Version #: 1.2
	**/
?>

<? /* LINKS */ ?>
<? // Check Title
$query = "SELECT * FROM wps_menu WHERE type='component' AND itemid = '$id'";
$result = mysql_query($query);
$row = mysql_fetch_object ($result);
?>
<card id="Card3" title="<?php echo $row->title; ?>">
<p>
<b><? echo _LINKS_INTRO; ?></b>
</p>
<p>
<?php
// include the Links
$query = "SELECT * FROM wps_links ORDER BY ordering";
$result = mysql_query($query);
// Use mysql_fetch_row to display links
for ($i = 1; $row = mysql_fetch_object ($result); $i++) {
	echo "<a href=\"http://".$row->link."\">".$row->linktext."</a><br />";
}
?>
</p>
<p align="center">
<anchor><? echo _HOME; ?>
<prev/>
</anchor>
</p>
</card>
<? /* END LINKS */ ?>